-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetching only finalized SAs #3403
base: release/v6.5.2
Are you sure you want to change the base?
Conversation
@@ -91,13 +95,6 @@ class BlockchainGetLatestServiceAgreement extends Command { | |||
}; | |||
} | |||
|
|||
if (latestBlockchainTokenId < latestDbTokenId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate condition there is the same one right before that
@@ -46,6 +46,13 @@ class HandleStoreRequestCommand extends HandleProtocolMessageCommand { | |||
tokenId, | |||
); | |||
const stateIndex = assertionIds.length - 1; | |||
|
|||
if (assertionId !== assertionIds[stateIndex]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we already do this in validation command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't
No description provided.